package xyz.zdsoft.course_manage_module.controller;

import io.swagger.annotations.*;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import xyz.zdsoft.common.utils.Result;
import xyz.zdsoft.course_manage_module.service.StudentCourseService;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.List;


/**
 * @author 王林'
 * @version 1.0
 * @date 2021-07-22 周四
 * @time 11:04
 * @description
 */

@Api(tags = "学生课程管理")
@RequestMapping("api/student/course")
@RestController
@Validated
public class StudentController {

    @Resource
    private StudentCourseService studentCourseService;

    @ApiOperation(value = "查询学生个人的课程")
    @GetMapping("")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "classId", value = "班级", dataType = "String", required = false),
            @ApiImplicitParam(name = "responsibleTeacherId", value = "责任老师", dataType = "String", required = false),
            @ApiImplicitParam(name = "classId", value = "实训老师", dataType = "datetime", required = false),
            @ApiImplicitParam(name = "createTime", value = "日期", dataType = "String", required = false),

    })
    public Result<T> selectCourse() {

        Result result = null;

        return result;
    }


    @GetMapping(value = "/getLessonName")
    @ApiOperation(value = "下拉框查询学生个人的课程课程名")
    public Result getLessonName(HttpServletRequest request) {

        Result result = null;
        return result;
    }


}
